<?php if (!defined('THINK_PATH')) exit();?>
 <!DOCTYPE html>
<html>
<head>
  <title></title>
      <!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<link type="text/css" rel="stylesheet" href="/neu5_yuejian/Public/assets/css/bootstrap.min.css">
<script type="text/javascript" src="/neu5_yuejian/Public/assets/js/jquery-2.2.1.min.js"></script>
<script type="text/javascript" src="/neu5_yuejian/Public/assets/js/bootstrap.min.js"></script>
</head>
</html>

        <div class="templatemo-flex-row">
      <div class="templatemo-sidebar">
        <header class="templatemo-site-header">
          <div class="square"></div>
          <h1>约健体育平台</h1>
        </header>
        <div class="profile-photo-container">
          <img src="/neu5_yuejian/Public/Admin/assets/img/logo.jpg" alt="Profile Photo" class="img-responsive">  
          <div class="profile-photo-overlay"></div>
        </div>      
        <!-- Search box -->
        <form class="templatemo-search-form" role="search">
          <div class="input-group">
              <button type="submit" class="fa fa-search"></button>
              <input type="text" class="form-control" placeholder="Search" name="srch-term" id="srch-term">           
          </div>
        </form>
        <div class="mobile-menu-icon">
            <i class="fa fa-bars"></i>
          </div>
        <nav class="templatemo-left-nav">          
          <ul>
            <li><a href="<?php echo U('Master/index');?>"><i class="fa fa-database fa-fw"></i>大师管理</a></li>
            <li><a href="<?php echo U('CheckMaster/index');?>"><i class="fa fa-home fa-fw"></i>大师审核管理</a></li>
            <li><a href="<?php echo U('Notice/index');?>"><i class="fa fa-bar-chart fa-fw"></i>推送管理</a></li>

            <li><a href="<?php echo U('Activity/activities');?>"><i class="fa fa-database fa-fw"></i>活动管理</a></li>
            <li><a href="<?php echo U('Game/games');?>"><i class="fa fa-home fa-fw"></i>比赛管理</a></li>
            <li><a href="<?php echo U('Prize/prizes');?>"><i class="fa fa-bar-chart fa-fw"></i>奖品管理</a></li>

            <li><a href="<?php echo U('Course/courselist');?>"><i class="fa fa-database fa-fw"></i>课程管理</a></li>
            <li><a href="<?php echo U('Video/videolist');?>"><i class="fa fa-home fa-fw"></i>视频管理</a></li>

            <li><a href="<?php echo U('Club/clubs');?>"><i class="fa fa-bar-chart fa-fw"></i>俱乐部管理</a></li>
            <li><a href="<?php echo U('Clubadmins/clubadmins');?>"><i class="fa fa-bar-chart fa-fw"></i>俱乐部管理员管理</a></li>

            <li><a href="<?php echo U('Login/login');?>"><i class="fa fa-home fa-fw"></i>登录</a></li>
            <li><a href="<?php echo U('Login/login');?>"><i class="fa fa-bar-chart fa-fw"></i>退出</a></li>

          </ul>  
        </nav>
      </div>









<!-- 
<span>欢迎：<?php echo ($username); ?></span> &nbsp;
[<a href="<?php echo U('Index/logout');?>">退出</a>]
</p>
<ul class="nav nav-pills nav-stacked">
  <li role="presentation"<?php if(CONTROLLER_NAME == 'archives') echo ' class="active"';?>><a href="<?php echo U('Archives/index');?>">文章管理</a></li>
  <li role="presentation"<?php if(CONTROLLER_NAME == 'Category') echo ' class="active"';?>><a href="<?php echo U('Category/index');?>">栏目管理</a></li>
  <li role="presentation"<?php if(CONTROLLER_NAME == 'Users') echo ' class="active"';?>><a href="<?php echo U('Users/index');?>">管理员</a></li>
</ul> -->
         <script type="text/javascript" src="/neu5_yuejian/Public/Admin/assets/js/bootstrap-filestyle.min.js"></script>
    <script type='text/javascript' src='/neu5_yuejian/Public/Admin/assets/js/jquery-1.11.2.min.js'></script>
       <script type="text/javascript" src="/neu5_yuejian/Public/Admin/assets/js/jquery-migrate-1.2.1.min.js"></script>
    <script type='text/javascript' src='/neu5_yuejian/Public/Admin/assets/js/templatemo-script.js'></script>


    <link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />
<!-- <link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/font-awesome.min.css" media="all" rel="stylesheet" type="text/css" /> -->
<link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/templatemo-style.css" media="all" rel="stylesheet" type="text/css" />


 <!--  <link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/1.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/2.css" media="all" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="/neu5_yuejian/Public/Admin/assets/css/style.css" media="all" rel="stylesheet" type="text/css" /> -->
</head>

<body>
  <div class="templatemo-content col-1 light-gray-bg">
        <div class="templatemo-top-nav-container">
          <div class="row">
            <nav class="templatemo-top-nav col-lg-12 col-md-12">
              <ul class="text-uppercase">
                <li><a href="/neu5_yuejian/index.php/Admin/Master/index" class="active">首页</a></li>
                <li><a  href="/neu5_yuejian/index.php/Admin/Master/index" class="active" >大师列表</a></li>
                <!-- <li><a class="active" href="/neu5_yuejian/index.php/Admin/Master/addMaster">新增  <i class="glyphicon glyphicon-plus"></i></a></li> -->
              </ul>  
            </nav> 
          </div>
        </div>
<div class="templatemo-content-container">
          <div class="templatemo-content-widget no-padding">
            <div class="panel panel-default table-responsive">
              <table class="table table-striped table-bordered templatemo-user-table">

               <thead>
                  <tr>
                    <td><a href="" class="white-text templatemo-sort-by">大师编号<span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">姓名<span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">简介 <span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">地址<span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">图片<span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">状态<span class="caret"></span></a></td>
                     <td><a href="" class="white-text templatemo-sort-by">俱乐部编号<span class="caret"></span></a></td>
                    <!-- <td>修改</td> -->
                    <td>删除</td>
                  </tr>
                </thead>

                <tbody>
                  <?php if(is_array($index)): $i = 0; $__LIST__ = $index;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                    <td><?php echo ($i); ?></td>
                    <td><?php echo ($vo["m_name"]); ?></td>
                    <td><?php echo ($vo["m_intro"]); ?></td>
                    <td><?php echo ($vo["m_address"]); ?></td>
                    <td><img src="/neu5_yuejian/Public/upload/<?php echo ($vo["m_pic1"]); ?>" width="60"></td>
                    <td>
                        <?php if(($vo["m_states"] == 0)): ?>未通过
                        <?php else: ?>
                            已通过<?php endif; ?>
                    </td>
                    <td><?php echo ($vo["cl_name"]); ?></td>
                  <!--   <td>
          <a class="btn btn-info" href="/neu5_yuejian/index.php/Admin/Master/addMaster"><i class="glyphicon glyphicon-pencil">新增</i></a>
          </td> -->
          <!-- <td>
          <a class="btn btn-info" href="/neu5_yuejian/index.php/Admin/Master/editMaster/m_id/<?php echo ($vo["m_id"]); ?>"><i class="glyphicon glyphicon-pencil">修改</i></a>
          </td> -->
           <td>
          <a href="/neu5_yuejian/index.php/Admin/Master/delmaster/m_id/<?php echo ($vo["m_id"]); ?>" class="btn btn-danger" onclick="return confirm('你确定要删除吗？')"><i class="glyphicon glyphicon-trash">删除</i></a>
          </td>
                  </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                                
                </tbody>
              </table>    
            </div> 
            <div class="jogger col-md-10   col-sm-offset-3 col-md-offset-4 col-xs-offset-2" >
            <p><?php echo ($link); ?></p>
           </div>                          
          </div>
</body>
</html>